package co.edu.usbcali.dataaccess.dao;

import co.edu.usbcali.parcial3.Comprobante;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for ComprobanteDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IComprobanteDAO {
    public void save(Comprobante instance);

    public void delete(Comprobante instance);

    public void update(Comprobante instance);

    public Comprobante findById(String id);

    public List<Comprobante> findByExample(Comprobante instance);

    public List<Comprobante> findByProperty(String propertyName, Object value);

    public List<Comprobante> findAll();

    public List<Comprobante> findByCriteria(String whereCondition);

    public List<Comprobante> findPageComprobante(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberComprobante();

    public List<Comprobante> findByComCodigo(Object comCodigo);

    public List<Comprobante> findByComFechaPago(Object comFechaPago);

    public List<Comprobante> findByComValorPagado(Object comValorPagado);
    
    //Metodo...
    public List<Comprobante> getComprobanteSesion(String cod);
}
